Thread: SOAP 1.2 fault SOAP-ENV:Sender[no subcode]

  1. #1
    Registered User
    Join Date
    Aug 2020
    Posts
    1

    SOAP 1.2 fault SOAP-ENV:Sender[no subcode]

    Accessing IIS webservice using Gsoap. I have similar error as in this link shows that the error was solved compiling with -lssl.
    I did the same thing in build as


    Code:
    g++ -o client client.cpp stdsoap2.cpp soapC.cpp  soapDataManagementSoapProxy.cpp -I /usr/local/ssl/include -L/home/xavier/GSOAP/lib -lgsoapssl++  -L/usr/local/ssl/lib -lssl
    My GSOAP lib was build with OpenSSL.
    But I still have error as

    Code:
    SOAP 1.2 fault SOAP-ENV:Sender[no subcode]
    "OpenSSL not installed: recompile with -DWITH_OPENSSL"
    Detail: [no detail]
    My test code is as follow. What could be wrong?

    Code:
    
    
    Code:
    #include "soapDataManagementSoapProxy.h"
    #include "DataManagementSoap.nsmap"
    
    
    const char server[] = "https://atictest.com/datamanagement.asmx";
    
    
    int main(int argc, char **argv)
    {
      DataManagementSoapProxy webinf;
      webinf.soap_endpoint = server;
      _tempuri__ReadTestData* a;
      _tempuri__ReadTestDataResponse res;
      int ret = webinf.ReadTestData(a, res);
      if (webinf.error){
        webinf.soap_stream_fault(std::cerr);    
      }
      else{
        //printf("result = %g\n", result);
        std::cout << "Success " << std::endl;
      }
      webinf.destroy(); /* clean up mem */
      return 0;
    }
    Last edited by batu_; 08-20-2020 at 08:20 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Raspberry Pi soap client
    By straygrey in forum C Programming
    Replies: 1
    Last Post: 11-11-2013, 09:04 AM
  2. New to SOAP Request
    By rajkumarmadhani in forum C Programming
    Replies: 0
    Last Post: 05-20-2010, 09:53 AM
  3. SOAP/XML Webservices with Apache.
    By adrianxw in forum Tech Board
    Replies: 0
    Last Post: 07-24-2004, 07:36 AM
  4. Should I be in a soap opera?
    By Shadow in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 02-12-2003, 04:10 AM

Tags for this Thread